//
//  CellViewControllerForLabelAndTextField.h
//  MemoryTasks
//
//  Created by Philippe Bouamriou on 15/05/10.
//  Copyright 2010 Philippe Bouamriou. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "CustomCellViewController.h"

@class CellViewControllerForLabelAndTextField;

@protocol UICellViewForLabelAndTextFieldDelegate <NSObject>

@optional
-(void)cellViewController:(CellViewControllerForLabelAndTextField*)cellViewController 
  textFieldEditingChanged:(UITextField*)theTextField;
-(void)cellViewController:(CellViewControllerForLabelAndTextField*)cellViewController 
    textFieldDidEndOnExit:(UITextField*)theTextField;

@end



@interface CellViewControllerForLabelAndTextField : CustomCellViewController {
   id<UICellViewForLabelAndTextFieldDelegate> delegate;
   UILabel *_label;
   UITextField *_textField;
   NSString *labelText;
   NSString *valueText;
   NSString *indicationText;
}

@property (nonatomic, strong) NSString *labelText;
@property (nonatomic, strong) NSString *valueText;
@property (nonatomic, strong) NSString *indicationText;
@property (nonatomic, strong) id<UICellViewForLabelAndTextFieldDelegate> delegate;

@end
